home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
HyperCard 2.0 Training
/
Intro to HyperCard 2.0
/
card_40059.txt
< prev
next >
Wrap
Text File
|
1990-08-24
|
860b
|
41 lines
-- card: 40059 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 39097
-- name: CHANGING TEXT FROM SCRIPTS
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=95 top=192 right=259 bottom=355
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
-- part contents for background part 5
----- text -----
Chunks of text in fields now have properties that can be manipulated from within HyperTalk scripts.
For example:
-- part contents for background part 6
----- text -----
CHANGING TEXT FROM SCRIPTS
-- part contents for card part 1
----- text -----
set the TextFont of char 1 to 3 of fld "Words" to Times
get the textSize of word 2 of fld 4
set the TextStyle of word 1 of fld 1 to bold